package com.yanxu.design01_singleton.enumsingleton;

/**
 * @author 折戟沉沙铁未销
 * @version V1.0
 * @date 2025/4/14-2025
 * @Description: 这里用一句话描述这个类的作用
 */
public class Test {
    public static void main(String[] args) {
        EnumInstance instance = EnumInstance.INSTANCE;
        System.out.println("instance = " + instance);

        instance.setData("hello!!!");
        Object data = instance.getData();
        System.out.println("data = " + data);
    }
}